/**
 * @author : cww
 * @date : 2020/12/26 22:23
 * 內部类中的static实例，只有在被调用时才会进行初始化
 * 线程安全：是
 * 是否延迟加载：是
 * 推荐：推荐
 */
public final class InstanceInner {
    private InstanceInner(){}
    private static class Inner{
        private static final  InstanceInner INSTANCE = new InstanceInner();
    }
    public static InstanceInner getInstance(){
        return Inner.INSTANCE;
    }
}
